package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.SaasTaskTypePlaceEnum;
import com.sc.nft.enums.task.DrawPriceTypeEnum;
import com.sc.nft.enums.task.TaskPrizeTypeEnum;
import com.sc.nft.sup.SuperEntity;

import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 任务奖励领取表(sc_task_draw_prize)实体类
 *
 * @author 张翔宇
 * @since 2023-03-31 17:13:26
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_task_draw_prize")
public class TaskDrawPrize extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 任务Id
     */
    private Long taskId;


    /**
     * 奖励发放类型
     */
    private DrawPriceTypeEnum drawType;
    /**
     * 任务进度Id
     */
    private Long taskPlanId;
    /**
     * 用户Id
     */
    private Long userId;
    /**
     * 任务名称
     */
    private String taskName;
    /**
     * 奖品类型
     */
    private TaskPrizeTypeEnum prizeType;
    /**
     * 商品图标
     */
    private String productIcon;
    /**
     * 领取状态
     */
    private Boolean status;
    /**
     * 领取时间
     */
    private Date drawTime;
    /**
     * 虚拟道具Id
     */
    private Long equityId;
    /**
     * 数量
     */
    private BigDecimal prizeCount;


    @ApiModelProperty(value = "任务生效位置")
    private SaasTaskTypePlaceEnum saasType;


}